//study.js子store
import {fetchLists} from '@/views/cnode/utils/api'
import {
    makeAutoObservable,

} from 'mobx'
class CnodeStore {
    constructor() {
        makeAutoObservable(this)
    }
    list=[]

    //action
    getList(payload) {
        fetchLists(payload).then(res=>{
            this.list=res
            console.log(this.list);
            console.log(res);
        })
    }
}

export default CnodeStore